﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ContentFrame.Master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="ETD.WebManagement.Admin.Account.Login" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <% string webformAssetsUrl = "/Assets/WebformAssets/"; %>
    <style type="text/css">
        html {
            background-image: url(<%= webformAssetsUrl %>images/LoginBG.jpg);
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-size: cover;
        }

        body {
            margin: 0px;
            padding: 0px;
            background-color: transparent !important;
        }

        .loginpanel {
            width: 368px;
            height: 223px;
            position: fixed;
            top: 50%;
            left: 50%;
            margin-left: -196px;
            margin-top: -100px;
        }

        .loginTextBox {
            width: 214px !important;
            height: 26px !important;
        }

        .validationErrorMessage {
            padding: 10px;
            color: #ffcb05;
            display: block;
        }

        #mws-footer {
            left: 0px !important;
        }

        .RadDock_Bootstrap .rdTable tr.rdTop td.rdLeft, .RadDock_Bootstrap .rdTable tr.rdTop td.rdCenter, .RadDock_Bootstrap .rdTable tr.rdTop td.rdRight {
            background-color: transparent !important;
        }

        .RadDock_Bootstrap .rdTable .rdMiddle .rdLeft, .RadDock_Bootstrap .rdTable .rdMiddle .rdRight {
            background-color: transparent !important;
        }

        .RadDock_Bootstrap .rdMiddle .rdCenter, .RadDock_Bootstrap .rdBottom .rdCenter, .RadDock_Bootstrap .rdBottom .rdLeft, .RadDock_Bootstrap .rdBottom .rdRight {
            background-color: transparent !important;
        }

        .RadDock_Bootstrap div.rdTitleBar em {
            color: #fff !important;
        }

        .loginLabelColor {
            color: #fff !important;
        }

        html body .RadInput_Bootstrap .riTextBox, html body .RadInputMgr_Bootstrap {
            background-color: transparent !important;
            color: #fff !important;
        }

        span.RadButton_Bootstrap.rbSkinnedButton, span.RadButton_Bootstrap.rbLinkButton, span.RadButton_Bootstrap.rbVerticalButton, span.RadButton_Bootstrap.RadButton.rbDisabled, span.RadButton_Bootstrap.RadButton.rbDisabled:hover, span.RadButton_Bootstrap.RadButton.rbDisabled:active, span.RadButton_Bootstrap.RadButton.rbDisabled:focus {
            background-color: transparent !important;
        }

        span.RadButton_Bootstrap .rbDecorated {
            color: #fff !important;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <div class="loginpanel">

        <telerik:RadDockLayout ID="RadDockLayoutOut" runat="server">
            <telerik:RadDockZone ID="RadDockZoneOut" runat="server" Orientation="Vertical" BorderWidth="0" Width="360px" BackColor="Transparent"
                Resizable="true">
                <telerik:RadDock ID="RadDockOut" runat="server" Title="登陆：" Width="360px" EnableDrag="false"
                    BackColor="Transparent" ForeColor="White"
                    DockHandle="TitleBar" DockMode="Docked" EnableAnimation="true" EnableRoundedCorners="false" Closed="false" Collapsed="false" DefaultCommands="None">
                    <ContentTemplate>
                        <table style="height: 100%" width="100%">
                            <tr style="height: 50%">
                                <td colspan="3" align="center">
                                    <div style="font-size: 26px; margin: 20px;" class="loginLabelColor">陪护床管理系统</div>

                                </td>
                            </tr>
                            <tr height="32">
                                <td align="right" width="80px">
                                    <asp:Label ID="lblUserName" runat="server" Text="账号：" CssClass="fieldlabel loginLabelColor"></asp:Label>
                                </td>
                                <td align="left">

                                    <telerik:RadTextBox ID="txtUserName" runat="server" CssClass="loginTextBox "></telerik:RadTextBox>
                                </td>

                            </tr>
                            <tr height="32">
                                <td align="right">

                                    <asp:Label ID="lblPassword" runat="server" Text="密码：" CssClass="fieldlabel loginLabelColor"></asp:Label>
                                </td>
                                <td align="left">
                                    <telerik:RadTextBox ID="txtPassword" runat="server" CssClass="loginTextBox" TextMode="Password"></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <br />
                                    <telerik:RadButton OnClick="btnLogin_Click" ID="btnLogin" runat="server" Text="登陆" CssClass="loginLabelColor"
                                        Width="260px" Height="40px">
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <asp:Label ID="lblFailureMessage" runat="server" CssClass="validationErrorMessage"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </telerik:RadDockLayout>
    </div>


    <asp:HiddenField ID="InvalidLoginCount" runat="server" />
</asp:Content>
